package com.sino.operation.commons.commonEnum;

import lombok.Data;

/**
 * TOD
 *
 * @author Administrator
 * date 2021/10/25 0025 22:10
 */
public enum PostEgCnEnum {

    RECEPTION_POST("201","Reception","受理岗"),
    TOTALENTRY_POST("202","TotalEntry","整单岗"),
    AUTH_POST("203","Auth","授权岗"),
    AUDIT_POST("204","Fixed","修正岗"),
    CHECK_POST("205","Review","复核岗"),
    INTBUS_POST("206","IntBusRun","外管账户岗"),
    VERIFY_POST("207","Verify","人工验印岗");

    private String code;

    private String value;

    private String description;

    public String getCode() {
        return code;
    }

    public String getValue() {
        return value;
    }

    public String getDescription() {
        return description;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public void setValue(String value) {
        this.value = value;
    }

    public void setDescription(String description) {
        this.description = description;
    }

    PostEgCnEnum(String code, String value, String description){
        this.code = code;
        this.value = value;
        this.description = description;
    }

    public static String getValue(String code){
        String result="";
        for (PostEgCnEnum pce:values()){
            if (code.equals(pce.getCode())){
                result=pce.getValue();
                break;
            }
        }
        return result;
    }

}
